package enums;
/*

    This file is part of Logica-Logike.

    Logica-Logike is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation version 3 of the License.

    Logica-Logike is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with Logica-Logike.  If not, see <http://www.gnu.org/licenses/>.

 */
/**
 * Proporciona un valor de enum por cada URL que se utiliza en el proyecto;
 *
 * @author Jose Martin Rozanec;
 */
public enum URLEnum {
    SAVE_AS, OPEN, SEPARATOR, SEPARATOR_110, LOOK_FEEL, LOGICA_ICON, CONFIG_FILE, INFORMATION, ABOUT,
    VERDADERO, FALSO, VERDADERO_FALSO, RESET_OPOSICION, OPOSICION_A, OPOSICION_E, OPOSICION_I, OPOSICION_O,
    A_FALSA_O_VERDADERA, A_VERDADERA_O_FALSA, E_FALSA_I_VERDADERA, E_VERDADERA_I_FALSA,
    PREMISA_LARGO, CONCLUSION_LARGO, PREMISA_BREVE, CONCLUSION_BREVE, INCOMPLETO, INVALIDO, COMPLETO, VALIDO,
    LIGHT_BULB, FIGURA_1, FIGURA_2, FIGURA_3, FIGURA_4, FIGURA_NONE,FIGURA1_GREEN,
    INGRESAR_VARIABLE_PARENTESIS, TABLE_SEPARATOR, NEGACION, CONDICIONAL, BICONDICIONAL, DISYUNCION_EXCLUSIVA,
    DISYUNCION_INCLUSIVA, NEGACION_CONJUNTA, INCOMPATIBILIDAD, CONJUNCION,
    FILECHOOSER_BUNDLE, TEXT_BUNDLE, FEMENINOS_BUNDLE, DICTIONARY_AFIRMATIVE_BUNDLE, DICTIONARY_TERMS_BUNDLE,
    THEORY_BUNDLE, PLURAL_EXCEPTIONS_BUNDLE, SPACE_OP, ANTERIOR, SIGUIENTE, EJERCICIO_CLIENT, EJERCICIO_SERVER,SIGUIENTE_ARROW, ANTERIOR_ARROW, XML_ICON, TST_ICON,
    DELETE_CURRENT_EXERCISE, ADD_EXCERCISE, ADD_EXCERCISE_GREEN, ADD_EXCERCISE_RED, NEXT_EXERCISE, PREVIOUS_EXERCISE,
    NEW_TEST,LOGIKE_BOTTOM, LOGIKE_BOTTOM_MEDIUM;

    /**
     * Permite conocer  que URL se halla asociado el valor de URLEnum que se pasa al metodo;
     *
     * @param urlEnum;
     * @return String URL;
     */
    public static String getReference(URLEnum urlEnum) {
        switch (urlEnum) {
            case OPEN:
                return "/gui/images/other/abrir.png";
            case SAVE_AS:
                return "/gui/images/other/guardarComo.png";
            case SEPARATOR:
                return "/gui/images/other/separator.png";
            case SEPARATOR_110:
                return "/gui/images/other/separator110.png";
            case LOOK_FEEL:
                return "/gui/images/other/lookAndFeel.png";
            case LOGICA_ICON:
                return "/gui/images/other/logicaIcon.png";
            case CONFIG_FILE:
                return "config.txt";
            case INFORMATION:
                return "/gui/images/other/information.png";
            case ABOUT:
                return "/gui/images/other/acercaDe.png";
            case VERDADERO:
                return "/gui/images/oposicion/V.png";
            case FALSO:
                return "/gui/images/oposicion/F.png";
            case VERDADERO_FALSO:
                return "/gui/images/oposicion/VF.png";
            case RESET_OPOSICION:
                return "/gui/images/oposicion/Reset.png";
            case OPOSICION_A:
                return "/gui/images/oposicion/A.png";
            case OPOSICION_E:
                return "/gui/images/oposicion/E.png";
            case OPOSICION_I:
                return "/gui/images/oposicion/I.png";
            case OPOSICION_O:
                return "/gui/images/oposicion/O.png";
            case A_FALSA_O_VERDADERA:
                return "/gui/images/oposicion/Afalsa_Overdadera.png";
            case A_VERDADERA_O_FALSA:
                return "/gui/images/oposicion/Averdadera_Ofalsa.png";
            case E_VERDADERA_I_FALSA:
                return "/gui/images/oposicion/Everdadera_Ifalsa.png";
            case E_FALSA_I_VERDADERA:
                return "/gui/images/oposicion/EfalsaIverdadera.png";
            case PREMISA_LARGO:
                return "/gui/images/spaces/premisasLargo.png";
            case CONCLUSION_LARGO:
                return "/gui/images/spaces/conclusionLargo.png";
            case PREMISA_BREVE:
                return "/gui/images/spaces/premisasBreve.png";
            case CONCLUSION_BREVE:
                return "/gui/images/spaces/conclusionBreve.png";
            case INCOMPLETO:
                return "/gui/images/button_incompleto.png";
            case COMPLETO:
                return "/gui/images/button_completo.png";
            case INVALIDO:
                return "/gui/images/button_invalido.png";
            case VALIDO:
                return "/gui/images/button_valido.png";
            case LIGHT_BULB:
                return "/gui/images/lightbulb_small.png";
            case FIGURA_1:
                return "/gui/images/figura/Figura1.png";
            case FIGURA_2:
                return "/gui/images/figura/Figura2.png";
            case FIGURA_3:
                return "/gui/images/figura/Figura3.png";
            case FIGURA_4:
                return "/gui/images/figura/Figura4.png";
            case FIGURA_NONE:
                return "/gui/images/figura/NONE.png";
            case FIGURA1_GREEN:
                return "/gui/images/figura/Figura1Green.png";
            case INGRESAR_VARIABLE_PARENTESIS:
                return "/gui/images/truth_table/VariableParentesis.png";
            case TABLE_SEPARATOR:
                return "/gui/images/truth_table/separator.png";
            case NEGACION:
                return "/gui/images/truth_table/negacion.gif";
            case CONDICIONAL:
                return "/gui/images/truth_table/condicional.gif";
            case BICONDICIONAL:
                return "/gui/images/truth_table/bicondicional.gif";
            case DISYUNCION_EXCLUSIVA:
                return "/gui/images/truth_table/disyuncionExclusiva.gif";
            case DISYUNCION_INCLUSIVA:
                return "/gui/images/truth_table/disyuncionInclusiva.gif";
            case NEGACION_CONJUNTA:
                return "/gui/images/truth_table/negacionConjunta.gif";
            case INCOMPATIBILIDAD:
                return "/gui/images/truth_table/incompatible.gif";
            case CONJUNCION:
                return "/gui/images/truth_table/conjuncion.gif";
            case SPACE_OP:
                return "/gui/images/spaces/space_op.png";
            case ANTERIOR:
                return "../../gui/images/other/anterior.png";
            case SIGUIENTE:
                return "../../gui/images/other/siguienteB.png";
            case SIGUIENTE_ARROW:
                return "../../gui/images/other/next.png";
            case ANTERIOR_ARROW:
                return "../../gui/images/other/previous.png";
            case EJERCICIO_CLIENT:
                return "../../gui/images/other/ejercicioClient.png";
            case EJERCICIO_SERVER:
                return "../../gui/images/other/ejercicioServer.png";
            case XML_ICON:
                return "/gui/filefilter/xmlSheetSmall.PNG";
            case TST_ICON:
                return "/gui/filefilter/tstIcon.PNG";
            case DELETE_CURRENT_EXERCISE:
                return "/gui/images/other/deleteExcercise.png";
            case ADD_EXCERCISE:
                return "/gui/images/other/addExercise.png";
            case NEXT_EXERCISE:
                return "/gui/images/other/nextExercise.png";
            case PREVIOUS_EXERCISE:
                return "/gui/images/other/previousExercise.png";
            case NEW_TEST:
                return "/gui/images/other/newTest.png";
            case ADD_EXCERCISE_GREEN:
                return "/gui/images/other/addExercise_green.png";
            case ADD_EXCERCISE_RED:
                return "/gui/images/other/addExercise_red.png";
            case LOGIKE_BOTTOM:
                return "/gui/images/other/LogikeBottom.png";
            case LOGIKE_BOTTOM_MEDIUM:
                return "/gui/images/other/LogikeBottomMedium.png"; 


            case FILECHOOSER_BUNDLE:
                return "bundles/JFileChooser";
            case TEXT_BUNDLE:
                return "bundles/textBundle";
            case FEMENINOS_BUNDLE:
                return "bundles/femeninos";
            case DICTIONARY_AFIRMATIVE_BUNDLE:
                return "bundles/dictionary_afirmative";
            case DICTIONARY_TERMS_BUNDLE:
                return "bundles/dictionary_terms";
            case THEORY_BUNDLE:
                return "bundles/TheoryBundle";
            case PLURAL_EXCEPTIONS_BUNDLE:
                return "bundles/pluralExceptions";
            default:
                return "";
        }
    }
}